<form id="app-form" class="layui-form layuimini-form">

    <div class="layui-form-item">
        <label class="layui-form-label">客服电话</label>
        <div class="layui-input-block">
            <input type="text" name="mobile" class="layui-input" lay-verify="required" placeholder="请输入客服电话" value="{$configs.mobile}">
            <tip>填写商城客服电话。</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">团队复购奖励</label>
        <div class="layui-input-block">
            <input type="text" name="teamset" class="layui-input" lay-verify="required" placeholder="请输入团队复购奖励" value="{$configs.teamset}">
            <tip>填写直接分享会员复购综合比（%）。</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">提现满额</label>
        <div class="layui-input-block">
            <input type="text" name="balance" class="layui-input" lay-verify="required" placeholder="请输入提现满额" value="{$configs.balance}">
            <tip>填写提现满足金额。</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">提现金额</label>
        <div class="layui-input-block">
            <input type="text" name="withdrawal" class="layui-input" lay-verify="required" placeholder="请输入提现金额" value="{$configs.withdrawal}">
            <tip>填写可提现金额（百元为单位）。</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">礼包邮费比</label>
        <div class="layui-input-block">
            <input type="text" name="shippingpersent" class="layui-input" lay-verify="required" placeholder="请输入礼包邮费比" value="{$configs.shippingpersent}">
            <tip>填写礼包支付邮费比例（%）。</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">推荐显示等级</label>
        <div class="layui-input-block">

                <input type="radio" name="is_show" value="0" title="否" {if condition="$configs['is_show'] eq 0"}checked{/if}>
                <input type="radio" name="is_show" value="1" title="是" {if condition="$configs['is_show'] eq 1"}checked{/if}>

        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">开启打印</label>
        <div class="layui-input-block">

            <input type="radio" name="isopen" value="0" title="关闭" {if condition="$configs['isopen'] eq 0"}checked{/if}>
            <input type="radio" name="isopen" value="1" title="开启" {if condition="$configs['isopen'] eq 1"}checked{/if}>

        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">规则</label>
        <div class="layui-input-block">
            <textarea name="rule" rows="10" class="layui-textarea editor" placeholder="请输入规则">{$configs.rule}</textarea>
        </div>
    </div>
    <div class="hr-line"></div>
    <div class="layui-form-item text-center">
        <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit="mall.setting/save" data-refresh="false">确认</button>
        <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
    </div>
</form>